package com.xh.bussiness.teachbook.bean.request;

import com.xh.bussiness.teachbook.bean.dto.ErrorQuestionResultDto;
import com.xh.bussiness.teachbook.bean.dto.QuestionResultDto;
import com.xh.core.bean.BaseDto;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * <p>
 *
 * </p>
 *
 * @author Pitt zhang
 * @since 2019/9/16
 */
@Data
@ApiModel
public class SubmitStudentResultRequest extends BaseDto {

    /**
     * 学生id
     */
    @ApiModelProperty("学生id")
    private String studentId;

    @ApiModelProperty("学生姓名")
    private String studentName;

    @ApiModelProperty("备课id")
    private String teachingBookId;

    @ApiModelProperty("备课练习id")
    private String teachingBookPracticeId;

    /**
     * 作答结果是否已保存：0.未保存，1.已保存
     */
    @ApiModelProperty("作答结果是否已保存：0.未保存，1.已保存")
    private Integer status;

    /**
     * 错题作答结果
     */
    @ApiModelProperty("错题作答结果")
    private List<ErrorQuestionResultDto> errorQuestionResultDtos;

    /**
     * 备课试题作答详情
     */
    @ApiModelProperty("备课试题作答结果")
    private List<QuestionResultDto> questionResultDtos;

    @ApiModelProperty("备课练习作答结果 （注*上节备课练习）")
    private List<QuestionResultDto> practiceQuestionResultDtos;
}
